﻿<table class="tableAd">
    <tr>
        <td class="left"><img alt="" src="/Images/blank.gif" /></td>
        <td>Quản lý </td>
        <td class="image"><img alt="" id="imgdiv1" src="/Images/closed.gif" onclick="toggleXPMenu('div1');" /></td>
    </tr>
</table>
<div id="div1" class="content">
    <ul>
        <li><img src="~/Content/imagesAdmin/icon_system.jpg" />@Html.ActionLink("Cấu hình", "ConfigEdit", "Admins")</li>
        <li><img src="~/Content/imagesAdmin/icon_gnews.jpg" />@Html.ActionLink("Danh mục trang", "PageIndex", "Admins")</li>
        <li><img src="~/Content/imagesAdmin/icon_adv.jpg" />@Html.ActionLink("Quảng cáo", "AdvertiseIndex", "Advertise")</li>
    </ul>
</div>

<script type="text/javascript">
    function Get(idname) { if (document.getElementById) { return document.getElementById(idname); } else if (document.all) { return document.all[idname]; } else if (document.layers) { return document.layers[idname]; } else { return null; } } function toggleXPMenu(block) { var CloseImage = "/Images/closed.gif"; var OpenImage = "/Images/open.gif"; var divid = block; var img = "img" + block; if (Get(divid).style.display == "") { Get(divid).style.display = "none"; Get(img).src = OpenImage; return false; } else { Get(divid).style.display = ""; Get(img).src = CloseImage; return false; } }
</script>
